package com.hanhan.chargingpile.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanhan.chargingpile.user.pojo.entity.AppUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hanhan.chargingpile.user.pojo.vo.AppUserVO;
import com.hanhan.chargingpile.user.pojo.vo.LoginVO;
import com.hanhan.chargingpile.user.pojo.vo.RegisterVO;
import com.hanhan.chargingpile.user.pojo.vo.UserInfoVO;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author HanHan
 * @since 2023-03-23
 */
public interface AppUserService extends IService<AppUser> {

    void register(RegisterVO registerVO);

    AppUserVO login(LoginVO loginVO, String ip);

    boolean checkTel(String tel);

    IPage<AppUser> listPage(Page<AppUser> pageParam, AppUser appUser);

    void lock(Long id, Integer status);

}
